package com.hsq.commons.util.exception;

public class ManagerException extends RuntimeException { 

	private static final long serialVersionUID = 1L; 

	// error code 
	public String errorCode; 

	public ManagerException() { 
	   super(); 
	} 

	public ManagerException(String message) { 
	   super(message); 
	} 

	public ManagerException(String message, Throwable cause) { 
	   super(message, cause); 
	} 

	public ManagerException(Throwable cause) { 
	   super(cause); 

	} 

	public ManagerException(String errorCode, String message) { 
	   super(message); 
	   this.errorCode = errorCode; 
	} 

	public ManagerException(String errorCode, String message, Throwable cause) { 
	   super(message, cause); 
	   this.errorCode = errorCode; 
	} 

	public String getErrorCode() { 
	   return errorCode; 
	} 

	public void setErrorCode(String errorCode) { 
	   this.errorCode = errorCode; 
	} 

	} 
